<?php


namespace EchoPHP\Rabbitmq;


use EchoPHP\Foundation\ServiceProvider;

class RabbitMqServiceProvider extends ServiceProvider {
    protected $defer = true;

    public function register() {
        $this->app->singleton('rabbitmq', function () {
            return new RabbitMqManager($this->app);
        });
    }

    public function provides() {
        return ['rabbitmq'];
    }

}